package org.dna.wicketui.users;

import org.dna.User;

/**
 * Module to authenticate a login
 *  
 * @author andrea
 */
public interface IAccessAuthenticator {
    /**
     * Authenticate the user identified by given name and password. If not valid
     * throws IllegalArgumentException.
     */
    User authenticate(String username, String password) throws IllegalArgumentException;
}
